<template>
  <div class="w-full mx-10 mt-6 text-[13px]"> 
    <div>
      {{ $t('kindTips') }}
    </div>
    <div>
      <span>{{ $t('withdrawalTime') }}</span>
      <span>: </span>
      <span>{{ time }}</span>
      <span @click="open(serverUrl)" class="ml-2">
        <van-icon name="service-o" size="1rem" />
      </span>
    </div>
  </div>
</template>
<script setup lang="ts">
import { useUserStore } from "@/store/user"

import { open } from "@/utils/index"

const user = useUserStore()

const serverUrl = user.config ? user.config['customer.config.contactUrl'] : ''

const time = user.config ? user.config['customer.config.withdrawTime'] : ''
</script>

<style lang="less" scoped></style>
